<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content" id="formSearch" name="formSearch">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="form-group col-sm-3">
						<label class="col-sm-5 control-label" style="margin-top:10px;width:20%;">IP地址</label>
						<div class="col-sm-8">
							<input id="ipC" name="ipC" type="text" class="form-control">
						</div>
					</div>
					<div class="form-group col-sm-3">
						<label class="col-sm-5 control-label" style="margin-top:10px;width:25%;">MAC地址</label>
						<div class="col-sm-8">
							<input id="macC" name="macC" type="text" class="form-control">
						</div>
					</div>
					<div class="form-group col-sm-4">
						<label class="col-sm-4 control-label" style="margin-top:10px;width:18%;">是否在线</label>
						<div class="col-sm-8">
							<select name="nflag1" id="nflag1" class="form-control">
								<option value="">全部</option>
								<option value="1">在线</option>
								<option value="0">离线</option>
							</select>
						</div>
					</div>
					<div class="form-group col-sm-3">
						<label class="col-sm-4 control-label" style="margin-top:10px;width:24%;">设备类型</label>
						<div class="col-sm-8" style="margin-left: -15px;">
							<select name="ostype" id="ostype" class="form-control">
								<option value="">全部</option>
								<option value="1">PC</option>
								<option value="2">unix</option>
								<option value="3">移动设备</option>
								<option value="4">交换机</option>
								<option value="5">打印机</option>
								<option value="6">路由器</option>
								<option value="7">负载均衡器</option>
								<option value="8">环境监测器</option>
								<option value="9">防火墙</option>
								<option value="10">调制解调器</option>
								<option value="11">存储服务器</option>
								<option value="12">虚拟机</option>
								<option value="13">摄像头</option>
								<option value="14">未知设备</option>
							</select>
						</div>
					</div>
					<div class="form-group col-sm-2">
						<button id="btnSearch" class="btn btn-success" onclick="reLoad()">查询</button>
						<button id="btnReset" class="btn btn-danger" onclick="reSet()">重置</button>
						<button id="btnExprot" class="btn btn-primary" onclick="reExport()">导出</button>
					</div>

				</div>
			</div>
		</div>

		<table id="exampleTable" data-mobile-responsive="true">
		</table>

	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="system:scanequip:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:scanequip:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="system:scanequip:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/system/scanequip/scanequip.js"></script>
</body>
</html>